]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
loginDialog: Set null user when asking for username
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 6 Feb 2020 19:24:32 +0000 (16:24 -0300)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 12 Feb 2020 19:29:48 +0000 (19:29 +0000)
When going through the username + password login flow, set
the username to 'null' to update the user avatar.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/922

js/gdm/loginDialog.js

index b3e32a67094545eaedf79a1b6b8ddcb7f8bad121..4a7bc5a4c16ebcbe72564946316b55a915c927f9 100644 (file)
@@ -913,6 +913,7 @@ var LoginDialog = GObject.registerClass({
     }
 
     _askForUsernameAndBeginVerification() {
+        this._authPrompt.setUser(null);
         this._authPrompt.setQuestion(_("Username: "));
 
         this._showRealmLoginHint(this._realmManager.loginFormat);